package com.wwinsoft.oa.dao.plan;

import java.util.List;

import org.springframework.stereotype.Component;

import com.wwinsoft.modules.orm.Page;
import com.wwinsoft.modules.orm.mybatis.MyBatisDao;
import com.wwinsoft.oa.entity.plan.Workplan;
import com.wwinsoft.oa.pojo.terminal.TerminalMaintainBean;

/**
 * @author: Tim Chen
 * @since 1.0
 */
@Component
public class WorkplanQueryDao extends MyBatisDao {

    public Page<Workplan>  searchWorkplanPage(Page<Workplan> page , Object filter) {
           return selectPage(page, "Workplan.selectWorkplanPage" ,filter) ;
    }

    public List<Workplan> searchWorkplan(Object filter) {
           return getSqlSession().selectList("Workplan.selectWorkplanPage" ,filter) ;
    }
}
